//
//  UserEntity.h
//  XDMall
//
//  Created by kane on 14-5-4.
//  Copyright (c) 2014年 kane. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSString+MD5.h"

@interface UserEntity : NSObject

@property(nonatomic,strong)NSString *UserID;
@property(nonatomic,strong)NSString *MobilePhone;
@property(nonatomic,strong)NSString *Password;
@property(nonatomic,strong)NSString *NickName;
@property(nonatomic,strong)NSString *PictureUrl;
@property(nonatomic,strong)NSString *SessionKey;
@property(nonatomic,strong)NSString *Email;
@property(nonatomic,strong)NSString *AreaID;
@property(nonatomic,strong)NSString *AreaName;

@property(nonatomic,strong)NSString *Latitude;
@property(nonatomic,strong)NSString *Longitude;
@property(nonatomic,strong)NSString *Address;
@property(nonatomic,strong)NSString *CityName;
@property(nonatomic,strong)NSString *ProvinceName;


@property(nonatomic,strong)NSString *selectCity;

@property(nonatomic,strong)NSArray *labelArray;

@property(nonatomic,assign)BOOL isLoading;
@property(nonatomic,assign)BOOL loginSuccess;

+ (UserEntity *)sharedUser;

- (NSString *)getUserID;
- (void)findAddress:(BOOL)synAddress;
- (void)login:(NSString *)username password:(NSString *)password;
- (void)loginSMS:(NSString *)username;
- (void)logout;

@end
